package com.eastfair.imaster.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 展商员工
 * </p>
 *
 * @author ligang
 * @since 2021-09-07
 */
@Data
@ApiModel(value = "ExhibitorEmployeeSaveDTO", description = "展商员工")
public class ExhibitorEmployeeDTO implements Serializable {

    public interface addCompanyOfExhibitor {}
    public interface removeEmployeeOfExhibitor {}



    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = {removeEmployeeOfExhibitor.class})
    private Long id;
    /**
     * 当前发布到的展会ID
     */
    @ApiModelProperty(value = "当前发布到的展会ID")
    @NotNull(groups = {addCompanyOfExhibitor.class})
    private Long exhibitionId;
    /**
     * 公司ID
     */
    @ApiModelProperty(value = "公司ID")
    private Long companyId;
    /**
     * 展商ID
     */
    @ApiModelProperty(value = "展商ID")
    @NotNull(groups = {addCompanyOfExhibitor.class})
    private Long exhibitorId;
    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id")
    @NotNull(groups = {addCompanyOfExhibitor.class})
    private Long employeeId;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userAccountId;

}
